<!DOCTYPE html>
<html>
<meta charset="utf-8">
<body>
	<form id="modForm">
		<table class="contentTb" >
			<tr>
				<td align="right">系统代号：</td>
				<td><input class="easyui-textbox" id="sysCode" name="sysCode"
					data-options="required:true" >
					<input type="hidden"  id="pintUuid" name="pintUuid">
				</td>
			</tr>
			<tr>
				<td align="right">所属机构：</td>
				<td><select id="chind_bhcId" 	name="bhcId" data-options="required:true" style="width: 195px"></select></td>
			</tr>
			<tr>
				<td align="right">所属产品：</td>
				<td><select id="chind_proId" 	name="proId" data-options="required:true" style="width: 195px"></select></td>
			</tr>
			<tr>
				<td align="right">类型代号：</td>
				<td><input class="easyui-textbox" id="pintCode" name="pintCode"
					data-options="required:true" ></td>
			</tr>
			<tr>
				<td align="right">类型名称：</td>
				<td><input class="easyui-textbox" id="pintName" name="pintName"
					data-options="required:true" ></td>
			</tr>
			<tr>
				<td align="right">类型描述：</td>
				<td><input class="easyui-textbox" id="pintDesc" name="pintDesc"
					data-options="required:true" ></td>
			</tr>
			<tr>
				<td colspan="2">
					<div style="margin-top: 10px;" align="center">
						<a class="easyui-linkbutton" data-options="iconCls:'icon-add'"
							href="javascript:void(0)" id="updBtn" style="width: 80px">保存</a>
						<a class="easyui-linkbutton" data-options="iconCls:'icon-undo'"
							href="javascript:void(0)" id="returnBtn" onclick="retBack()" style="width: 80px">返回</a>
					</div>
				</td>
			</tr>
		</table>
	</form>
	<script type="text/javascript">
		$(function() {
			//加载产品
			var items = {
				id : "#chind_proId",
				name : "PROTYPE"
			}
			initSel(items);
			initSelRBCH({id:"#chind_bhcId"});
			
			var modForm = new initCommonForm({
				formId : "modForm",
				url : BUS_URL + "epintinfo/updateEpint",
				submitBtnId : 'updBtn',
				method : 'put',
				successBackFunction : function(obj) {
					$("#win").window('close');
					$("#wxConfigManage").datagrid("load");
				}
				
			});
			$('#modForm').form('load', op_row);
			
			
			$("#chind_proId").combobox("setValue",op_row.proId);
			$("#chind_bhcId").combobox("setValue",op_row.bhcId);
		})
	</script>
</body>
</html>